<!doctype html>

<head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title></title>
<script type="text/javascript" src= "jquery-1.9.1.js"></script>
<script type="text/javascript" src="grhtml5-6.6-min.js"></script>
<script type="text/javascript">
$(function window_onload() {
		var datas = window.localStorage;
	
		var route = datas.printData;
		var rou = JSON.parse(route);
		var ro = rou.fileRout;
		var db = rou.datasource;
		//创建报表显示器，参数指定其在网页中的占位标签的ID，关联的报表模板URL，关联的报表数据URL
		var reportViewer = rubylong.grhtml5.insertReportViewer("report_holder",
				"grf/打印测试表单/"+ ro +".grf", print.txt);
		reportViewer.start(); //启动报表运行，生成报表
	
})
</script>
</head>
<body>
	<div id="report_holder">
		<!--报表占位标签，生成的报表将显示到这里-->
	</div>
</body>
</html>
